package com.goldcn.user.model;

import io.swagger.annotations.ApiModelProperty;

public class UserMessage {
    private Long id;

    private Long userID;
    @ApiModelProperty(value = "1pc系统消息，2APP系统消息，3APP通知消息")
    private Integer type;

    private String message;
    @ApiModelProperty(value = "0未读 1已读")
    private Integer state;

    private Long addTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserID() {
        return userID;
    }

    public void setUserID(Long userID) {
        this.userID = userID;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public UserMessage() {
    }

    public UserMessage(Long userID, Integer type, String message, Integer state, Long addTime) {
        this.userID = userID;
        this.type = type;
        this.message = message;
        this.state = state;
        this.addTime = addTime;
    }
}